package com.dly.blog.service;

import com.dly.blog.domain.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dly.blog.domain.vo.comment.CommentPageVO;
import com.dly.blog.domain.vo.comment.CommentVO;
import com.dly.blog.domain.ro.comment.CommentPageRO;
import com.dly.blog.domain.ro.comment.CommentAddRO;
import com.dly.blog.domain.ro.comment.CommentEditRO;
import com.dly.blog.domain.vo.PageVO;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author DLY
 * @since 2024-01-30 13:17:33
 */
public interface CommentService extends IService<Comment> {

    PageVO<CommentPageVO> getCommentPage(CommentPageRO commentPageRO);

    void addComment(CommentAddRO commentAddRO);

    CommentVO getComment(String id);

    void removeComment(String[] ids);

    void editComment(CommentEditRO commentEditRO);

    PageVO<CommentPageVO> getCommentSonPage(CommentPageRO commentPageRO);
}
